package cn.com.nes.site.entity.vo.inventory;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * 保存申请单-商品明细
 */
@Data
public class SaveApplyInfoGoodsVO{

    @ApiModelProperty(name = "商品Id")
    @NotEmpty(message = "商品不能为空")
    private String goodsUUid;

    @ApiModelProperty(name = "数量")
    @NotNull(message = "数量不能为空")
    private Integer inoutNum;

    @ApiModelProperty(name = "备注")
    private String memo;

}
